import request from '@/utils/request'

/**
 * 忘记密码
 * @param params
 * @returns {PromiseLike<T | never> | Promise<T | never> | *}
 */
export function forgetPassword(data: any) {
  return request({
    url: "scrm-api/console/forget/password",
    method: "post",
    data: data
  })
}

/**
 * 确认找回
 * @param params
 * @returns {PromiseLike<T | never> | Promise<T | never> | *}
 */
export function accountPassword(data: any) {
  return request({
    url: "scrm-api/console/update/select/account/password",
    method: "post",
    data: data
  })
}